14a040aab8b034c0bf60df53e7f77baebe7fb36a,src/main/java/org/lanternpowered/server/network/vanilla/message/codec/play/CodecPlayOutEntityLook.java,CodecPlayOutEntityLook,encode,#CodecContext#MessagePlayOutEntityLook#,37
Before Change
ByteBuffer buf = context.byteBufAlloc().buffer();
buf.writeVarInt(message.getEntityId());
buf.writeByte((byte) message.getYaw());
buf.writeByte((byte) message.getPitch());
buf.writeBoolean(message.isOnGround());
return buf;
}
After Change
final ByteBuffer buf = context.byteBufAlloc().buffer();
buf.writeVarInt(message.getEntityId());
buf.writeByte(message.getYaw());
buf.writeByte(message.getPitch());
buf.writeBoolean(message.isOnGround());
return buf;
}